//package com.weseal.controller;
//
//import com.weseal.controller.base.BaseController;
//import com.weseal.form.PartTypeForm;
//import com.weseal.response.CommonResult;
//import com.weseal.service.PartTypeService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//import org.springframework.ui.ModelMap;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.ResponseBody;
//
///**
// * @author weseal
// * @title
// * @description
// * @usage
// * @copyright Copyright 2014  rrmj Corporation. All rights reserved.
// * @company 上海众多美网络科技有限公司
// * @create 2017/11/10
// */
//@Controller
//@RequestMapping("/partType")
//public class PartTypeController extends BaseController {
//
//	@Autowired
//	private PartTypeService partTypeService;
//
//	@RequestMapping(value = "/create", method = RequestMethod.GET)
//	public String initCreate(ModelMap map) {
//		return "partType/create";
//	}
//
//	@RequestMapping(value = "/create", method = RequestMethod.POST)
//	@ResponseBody
//	public CommonResult initCreate(PartTypeForm form) {
//		CommonResult commonResult = CommonResult.initSuccess();
//		partTypeService.save(form);
//		return commonResult;
//	}
//
//
//	/**
//	 * 删除标签
//	 *
//	 * @param partTypeId
//	 * @return
//	 */
//	@RequestMapping(value = "/delete", method = RequestMethod.POST)
//	@ResponseBody
//	public CommonResult delete(Long partTypeId) {
//		CommonResult commonResult = CommonResult.initSuccess();
//		partTypeService.delete(partTypeId);
//		return commonResult;
//	}
//
//
//}
